package org.example.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Car {
    private int carId;
    private String carName;
    private double carPrice;
    private String carMileage;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date  carBuyTime;
    private int carType;
    private int carStatus;
}
